package com.tencreat.domain.pt;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.tencreat.common.core.domain.BaseEntity;
import com.tencreat.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


/**
 * 【拼团券签到记录】对象 mall_pt_sign_coupon_record
 *
 * @author tencreat
 * @date 2021-11-24
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("mall_pt_sign_coupon_record")
public class MallPtSignCouponRecord extends BaseEntity<MallPtSignCouponRecord>{
    private static final long serialVersionUID = 1L;


    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;


    /** 类型 */
    @Excel(name = "类型")
    @ApiModelProperty(value= "类型,1领取，2使用")
    @TableField("`type`")
    private String type;


    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty(value= "用户id")
    @TableField("`uuid`")
    private String uuid;


    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value= "数量")
    @TableField("`count`")
    private Integer count;


    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    @TableField("`del_flag`")
    private String delFlag;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty(value= "业务类型 1签到，2失效，3参与拼团 4直推 5间推")
    @TableField("`business_type`")
    private String businessType;

    /** 租户ID */
    @Excel(name = "租户ID")
    @ApiModelProperty(value= "租户ID")
    @TableField("`tenant_id`")
    private Long tenantId;


}
